package com.yonyou.pmclouds.workflow.entity;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ApprovalRecordVO implements Serializable, Cloneable{

    private static final long serialVersionUID = 795143581202436230L;

    public static final String APPROVAL_PERSON_CODE = "approvalPersonCode";

    public static final String APPROVAL_PERSON_NAME = "approvalPersonName";

    // 审批通过状态
    public static final String APPROVAL_STATUS_ADOPT = "adopt";

    // 审批驳回状态
    public static final String APPROVAL_STATUS_REJECT = "reject";

    // 审批中状态
    public static final String APPROVAL_STATUS_APPROVAL_PENDING = "approvalPending";

    // 提交状态
    public static final String APPROVAL_STATUS_SUBMIT = "submit";

    // 未审批被抢占审批状态
    public static final String APPROVAL_STATUS_DELETED = "deleted";

    // 审批人编码
    private String approvalPersonCode;

    // 审批人名称
    private String approvalPersonName;

    // 审批意见
    private String approvalComment;

    // 环节点名称
    private String approvalNodeName;

    // 环节点编码
    private String approvalNodeKey;

    // 审批状态编码
    private String approvalStatus;

    // 审批状态描述
    private String approvalStatusDesc;

    // 租户ID
    private String tenantId;

    // 流程定义ID
    private String processDefinitionId;

    // 流程实例ID
    private String processInstanceId;

    // 任务ID
    private String taskId;

    // 删除原因
    private String deleteReason;

    // 审批开始时间
    private String startTime;

    // 审批结束时间
    private String endTime;

    // 是否完成审批
    private boolean finished;

    // 业务单据主键
    private String businessKey;

    private String rejectActivityId;

}
